package com.hao.crm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hao.crm.domain.Menu;
import com.hao.crm.mapper.MenuMapper;
import com.hao.crm.service.IMenuService;
@Service
public class MenuServiceImpl implements IMenuService{
	@Autowired
	private MenuMapper dao;

	@Override
	public List<Menu> queryMenu() {
		return dao.selectRoot();
	}

}
